Produced by Araxis Merge on 2021-05-13 09:08:39 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | 2021-05-13 09:08:39 +0000 | ||
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/code/Mageplaza/LayeredNavigation/view/frontend/templates | view.phtml | 2016-09-27 16:15:52 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 72 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php if ($block->canShowBlock()): ?> | |||||
| 2 | <div class="block filter" id="layered-filter-block" data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> | |||||
| 3 | <?php $filtered = count($block->getLayer()->getState()->getFilters()) ?> | |||||
| 4 | <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ echo $filtered; ?>"> | |||||
| 5 | <strong data-role="title"><?php /* @escapeNotVerified */ echo __('Shop By') ?></strong> | |||||
| 6 | </div> | |||||
| 7 | <div class="block-content filter-content"> | |||||
| 8 | <?php echo $block->getChildHtml('state') ?> | |||||
| 9 | ||||||
| 10 | <?php if ($block->getLayer()->getState()->getFilters()): ?> | |||||
| 11 | <div class="block-actions filter-actions"> | |||||
| 12 | <a href="<?php /* @escapeNotVerified */ echo $block->getClearUrl() ?>" class="action clear filter-clear"><span><?php /* @escapeNotVerified */ echo __('Clear All') ?></span></a> | |||||
| 13 | </div> | |||||
| 14 | <?php endif; ?> | |||||
| 15 | <?php $wrapOptions = false; $activeKey = 0; $activeArray = []; ?> | |||||
| 16 | <?php foreach ($block->getFilters() as $key => $filter): ?> | |||||
| 17 | <?php if ($filter->getItemsCount()): ?> | |||||
| 18 | <?php if (!$wrapOptions): ?> | |||||
| 19 | <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php /* @escapeNotVerified */ echo __('Shopping Options') ?></strong> | |||||
| 20 | <div class="filter-options" id="narrow-by-list" data-role="content"> | |||||
| 21 | <?php $wrapOptions = true; endif; ?> | |||||
| 22 | <div data-role="collapsible" class="filter-options-item"> | |||||
| 23 | <div data-role="title" class="filter-options-title"><?php /* @escapeNotVerified */ echo __($filter->getName()) ?></div> | |||||
| 24 | <div data-role="content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->render($filter); ?></div> | |||||
| 25 | </div> | |||||
| 26 | <?php | |||||
| 27 | if($block->getRequest()->getParam($filter->getRequestVar())){ | |||||
| 28 | $activeArray[] = $activeKey; | |||||
| 29 | } | |||||
| 30 | $activeKey++; | |||||
| 31 | ?> | |||||
| 32 | <?php endif; ?> | |||||
| 33 | <?php endforeach; ?> | |||||
| 34 | <?php if ($wrapOptions): ?> | |||||
| 35 | </div> | |||||
| 36 | » » » » <script type="text/x-magento-init"> | |||||
| 37 | » » » » » { | |||||
| 38 | » » » » » » "#narrow-by-list": { | |||||
| 39 | » » » » » » » "accordion": { | |||||
| 40 | » » » » » » » » "openedState": "active", | |||||
| 41 | » » » » » » » » "collapsible": true, | |||||
| 42 | » » » » » » » » "active": <?php echo sizeof($activeArray) ? $this->helper('Magento\Framework\Json\Helper\Data')->jsonEncode($activeArray) : 'false' ?>, | |||||
| 43 | » » » » » » » » "multipleCollapsible": true | |||||
| 44 | » » » » » » » }, | |||||
| 45 | » » » » » » » "Mageplaza_LayeredNavigation/js/layer": {} | |||||
| 46 | » » » » » » } | |||||
| 47 | » » » » » } | |||||
| 48 | » » » » </script> | |||||
| 49 | <?php endif; ?> | |||||
| 50 | <div id="ln_overlay" class="ln_overlay"> | |||||
| 51 | <img src="<?php /* @escapeNotVerified */ echo $block->getViewFileUrl('images/loader-1.gif'); ?>" alt="Loading..."> | |||||
| 52 | </div> | |||||
| 53 | </div> | |||||
| 54 | </div> | |||||
| 55 | <?php endif; ?> | |||||
| 56 | <style type="text/css"> | |||||
| 57 | .ln_overlay{ | |||||
| 58 | background-color: #FFFFFF; | |||||
| 59 | height: 100%; | |||||
| 60 | left: 0; | |||||
| 61 | opacity: 0.5; | |||||
| 62 | filter: alpha(opacity = 50); | |||||
| 63 | position: absolute; | |||||
| 64 | top: 0; | |||||
| 65 | width: 100%; | |||||
| 66 | z-index: 555; | |||||
| 67 | display:none; | |||||
| 68 | } | |||||
| 69 | .ln_overlay img { | |||||
| 70 | top: 30%;left: 45%;display: block;position: absolute; | |||||
| 71 | } | |||||
| 72 | </style> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.